package com.icss.flow.mapper;



import com.icss.flow.pojo.entity.TMetaField;

import java.util.List;

public interface DynamicTableMapper {
    /**
     * 动态生成实体表结构
     * @param tableName 实体表名称
     * @param tableId 实体表id
     * @param tMetaFieldList 实体表字段列表
     * @return
     */
    int generateEntityTable(String tableName,String tableId, List<TMetaField> tMetaFieldList);
    int alterEntityTable(String tableName, List<TMetaField> tMetaFieldList);

    int appendEntityField(String tableName, List<TMetaField> addTmetaFieldList);

    int deleteEntityField(String tableName, List<TMetaField> deleteTmetaFieldList);
}
